package com.fg.pro.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fg.pro.model.sys.entity.SysMenu;
import com.fg.pro.model.sys.entity.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 角色(SysRole)表服务接口
 *
 * @author makejava
 * @since 2025-07-17 10:10:47
 */
public interface SysRoleService extends IService<SysRole> {

    PageInfo getPage(Integer pageNum, Integer pageSize, String roleName);

    List<SysMenu> getAllMenuTree();


    List<Long> getMenuIdById(Long roleId);

    Boolean updateMenu(Long roleId, List<Long> menuIdList);

}

